package com.atguigu.yygh.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhmwi
 * @Date 2021/7/22
 * @Dersciption
 */
@FeignClient("service-hosp")
public interface HospitalFeignClient {
    //下单 -- 获取排班详情
    @ApiOperation("根据排班id获取预约下单数据 即 回显下单详情")
    @GetMapping("/api/hosp/hospital/inner/getScheduleOrderVo/{scheduleId}")
    public ScheduleOrderVo getScheduleOrderVo(@PathVariable("scheduleId") String scheduleId);
}
